home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / dev / gcc / gcc260utilsdoc.lha / gnu / man / man1 / head.1 < prev    next >
Encoding:
Text File  |  1994-07-26  |  2.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. HEAD(1L)          Misc. Reference Manual Pages           HEAD(1L)
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      head - output the first part of files
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      hhhheeeeaaaadddd [-c N[bkm]] [-n N] [-qv] [--bytes=N[bkm]] [--lines=N] [
  13.      - - quiet]  [ - - silent]  [ --verbose] [--help] [--version]
  14.      [file...]
  15.  
  16.      hhhheeeeaaaadddd [-Nbcklmqv] [file...]
  17.  
  18. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.      This manual page documents the GNU version  of  hhhheeeeaaaadddd.   hhhheeeeaaaadddd
  20.      prints  the  first  part (10 lines by default) of each given
  21.      file; it reads from standard input if no files are given  or
  22.      when  a  filename  of  `-' is encountered.  If more than one
  23.      file is given, it prints a header consisting of  the  file's
  24.      name  enclosed in `==>' and `<==' before the output for each
  25.      file.
  26.  
  27.   OOOOPPPPTTTTIIIIOOOONNNNSSSS
  28.      hhhheeeeaaaadddd accepts two option  formats:  the  new  one,  in  which
  29.      numbers  are  arguments  to  the option letters, and the old
  30.      one, in which the number precedes any option letters.
  31.  
  32.      -_c _N, --_b_y_t_e_s _N
  33.           Print first N bytes.  N is a nonzero  integer,  option-
  34.           ally  followed  by  one  of the following characters to
  35.           specify a different unit.
  36.  
  37.           b    512-byte blocks.
  38.  
  39.           k    1-kilobyte blocks.
  40.  
  41.           m    1-megabyte blocks.
  42.  
  43.      -_l, -_n _N, --_l_i_n_e_s _N
  44.           Print first N lines.
  45.  
  46.      -_q, --_q_u_i_e_t, --_s_i_l_e_n_t
  47.           Never print filename headers.
  48.  
  49.      -_v, --_v_e_r_b_o_s_e
  50.           Always print filename headers.
  51.  
  52.      --_h_e_l_p
  53.           Print a usage message and exit with a non-zero status.
  54.  
  55.      --_v_e_r_s_i_o_n
  56.           Print version information on standard output then exit.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. FSF              Last change: GNU Text Utilities                1
  64.  
  65.  
  66.  
  67.